using System;
using Andshev.OrmTools.Linq2Query.Enumerations;

namespace Andshev.OrmTools.Linq2Query.Attributes
{
    [AttributeUsage(AttributeTargets.Property, Inherited = true)]
    public sealed class IdentityAttribute : ColumnAttribute
    {
        public IdentityAttribute(string columnName) 
            : base(ColumnType.Identity, columnName, true)
        {
        }
    }
}